home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-19 / gpt32src.zip / README.X11 < prev    next >
Text File  |  1992-03-25  |  4KB  |  114 lines

  1.  
  2. Notes on the new X11 features are attached. 
  3.  
  4. Ed
  5. ----------------------------------
  6. Ed Kubaitis (ejk@ux2.cso.uiuc.edu)
  7. Computing & Communications Services Office - University of Illinois, Urbana
  8.  
  9. ===============================================================================
  10. Gnuplot_x11 for 3.2
  11. -------------------
  12.  
  13. New features
  14. ------------
  15.    o CRIPPLED_SELECT build option for SVR3 platforms with incomplete
  16.      or faulty implementations of BSD select().
  17.  
  18.    o Xlib only
  19.  
  20.      X11 support no longer requires Athena or Motif libraries and
  21.      include files. This makes life easier for people on platforms
  22.      with Open Look only. It also simplifies X11 tailoring on all
  23.      platforms. Oh yes, and the gnuplot_x11 executable is smaller
  24.      (~43K instead of ~500K on RS/6000.)
  25.  
  26.      makefile.unx has been edited to remove references to Athena &
  27.      Motif. Also, with the exception of the HP definition (where it
  28.      appeared to be intentionally specific to R4) all references to 
  29.      X11R4 have also been removed since this version should work without 
  30.      changes on R3, R4, or R5.
  31.  
  32.    o Grayscale handling
  33.  
  34.      * grayscale displays get monochrome rendering by default
  35.  
  36.      * '-gray' option & resource forces grayscale rendering on grayscale
  37.        or color displays.
  38.  
  39.      * '-mono' option forces monochrome rendering on color displays.
  40.  
  41.      * special grayscale resources (separate from color)
  42.  
  43.    o Miscellaneous
  44.  
  45.      * By default, the window is no longer momentarily cleared when
  46.        a new plot is displayed. The new plot "silently" replaces the
  47.        previous one.  I found this useful when running some of the demos, 
  48.        such as contours.demo, where a plot "adds" a feature to
  49.        the one before (gnuplot "movies" anyone?;-).
  50.  
  51.        However, a "-clear" command line-option and "gnuplot*clear: on"
  52.        restores the momentary clear that was there previously.
  53.  
  54.      * Added ptx_x11 and convex_x11 machine options to makefile.unx.
  55.  
  56.      * There is an X11FLAGS option (-DOLD_SELECT) for old 4.2 BSD systems
  57.        (such as SunOS 3.5) which don't have the FD_XXX macros that
  58.        go with select().
  59.  
  60.  
  61. A few words about CRIPPLED_SELECT
  62. ---------------------------------
  63. I closely reviewed four different ways people had devised for dealing with 
  64. the "select error" problem encountered on some SVR3 platforms. I had one 
  65. such platform (Sequent Dynix/PTX) available for testing. Unfortunately 3 of 
  66. the four ways that had been submitted did not work for PTX (which has 
  67. problems with non-blocking I/O and Unix domain sockets as well as select). 
  68. The fourth way worked there but it used SV STREAMS and I had no way to 
  69. verify that it would also work on all the other platforms that encountered 
  70. the problem.
  71.  
  72. What was done instead was to use a temporary file instead of a pipe for
  73. gnuplot->gnuplot_x11 communication when CRIPPLED_SELECT is used. This is 
  74. like a sledgehammer - crude but (hopefully) robust. It should work on any 
  75. platform with open(), read(), write(), close(), unlink(), getpid(), and 
  76. getppid().
  77.  
  78. Response time is not bad with CRIPPLED_SELECT. Timings on an RS/6000 
  79. for all.demo (hitting RETURN as soon as a plot appears) indicate that 
  80. CRIPPLED_SELECT only adds an average of .5 seconds to response time, 
  81. about what one would expect given the 1 second timer used. And curiously, 
  82. CRIPPLED_SELECT used 30% less CPU than the default mode.
  83.  
  84. Testing
  85. -------
  86. The new gnuplot_x11 was tested here on the following platforms:
  87.  
  88.    o IBM RS/6000 AIX 3.1.6 (IBM X11R3)
  89.    o IBM RS/6000 AIX 3.1.6 (MIT X11R4)
  90.    o Apollo 400s DomainOS 10.3 (Apollo X11R3)
  91.    o Sun SPARC SunOS 4.1.1-GFX-Rev2 (X11R?)
  92.    o Vax BSD 4.3 Reno (X11R5)
  93.    o Vax Ultrix-32 V3.0 Rev 64 (MIT X11R4)
  94.    o Sun 3/50 SunOS 3.5 (MIT X11R4)
  95.    o Sun 3/60 SunOS 4.1 (MIT X11R4)
  96.    o NeXT (X11 R?)
  97.    o Convex C2 9.0 OS (MIT X11R5)
  98.    o Sequent Dynix 3.1 (MIT X11R5)
  99.    o Sequent Dynix/PTX (MIT X11R5)
  100.    o Cray 2 - Unicos 5+?
  101.    o Cray Y-MP - Unicos 5+?
  102.  
  103. And with the following servers:
  104.  
  105.    o NCD 19 monochrome (NCD X11R3)
  106.    o Visual X-15 monochrome (Visual X11R4)
  107.    o Sun 3/50 monochrome (MIT X11R4)
  108.    o IBM XStation 120 grayscale (IBM X11R4)
  109.    o Visual Turbo X-19 grayscale (Visual X11R4)
  110.    o IBM XStation 120 color (IBM X11R4)
  111.    o Sun 3/60 color (MIT X11R4)
  112.    o IBM XStation 130 1.3 (IBM X11R4)
  113.  
  114.